package 面向对象中级.课堂练习.Exercise06;

public class Programmer extends Employee{
    private String language;

    public Programmer() {
        super();
    }

    public Programmer(int id, String name, int age, String tel, String language) {
        super(id, name, age, tel);
        this.language = language;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    @Override
    public String getInfo() {
        return super.getInfo()+"编程语言"+language;
    }
}

